package com.example.esjd.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @RequestMapping("/test")
    public User test1() {
        User user = new User();
        user.setAge(18);
        user.setName("fang");
        return user;
    }
}
